import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useUserStore = defineStore('user',()=>{
	// 定义token
	const token = ref('')
	
	return {token}
},{
	persist:{
		paths:['token']
	}
})